package top.songxs.gmall.seckill.service;

import top.songxs.gmall.seckill.entity.SeckillGoods;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Date;
import java.util.List;

/**
* @author 86176
* @description 针对表【seckill_goods】的数据库操作Service
* @createDate 2023-06-09 18:30:41
*/
public interface SeckillGoodsService extends IService<SeckillGoods> {

    List<SeckillGoods> cachePreHotTask(Date date);

    List<SeckillGoods> findSeckillGoodsList();

    String buildRedisGoodsKey();

    String getSeckillCode(Long skuId);

    void seckillQueue(Long skuId, String skuIdStr);
}
